const fs = require('path')

var fullName = fs.basename('./file/成绩-ok.txt');
var sentName = fs.extname('./file/成绩-ok.txt');
console.log(fullName, sentName);


